package com.malljelly.study.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by 骑着蜗牛去旅行 on 2018/8/16.
 */
public interface CallbackService {
    /**
     * 同步回调
     *
     * @return
     */
     Map<String, String> syn(HttpServletRequest request);

    /**
     * 异步回调
     *
     * @return
     */
     String asyn(HttpServletRequest request);
}
